let express = require('express'),
    multipart = require('connect-multiparty'),
    multipartMiddleware = multipart(),
    router = express.Router();

router.post('/addResources', require('./src/addResources'));
router.post('/uploadImages', multipartMiddleware, require('./src/uploadImages'));
// router.post('/uploadAvater', multipartMiddleware, require('./src/uploadAvater'));
router.post('/delect', require('./src/delect'));
router.post('/recommend', require('./src/recommend'));
router.post('/categorySave', require('./src/categorySave'));
router.post('/statistics', require('./src/statistics'));
router.get('/list', require('./src/list'));
router.get('/article', require('./src/article'));

module.exports = router;